package com.yehaikeji.workflow.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiParam;

public class thing {
    private String thingid;

    @ApiParam(value="事项名")
    private String name;

    @ApiParam(value="姓名")
    private String bname;

    @ApiParam(value="办理者电话")
    private String bphone;

    private String typename;

    private Integer number;
    
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    private Integer typeid;

    private String userid;

    private Integer status;
    
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedate;
    
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    
    private String sendunit;
    
    private String signatureS;
    
    private String snapinunit;
    
    
    public String getThingid() {
        return thingid;
    }

    public void setThingid(String thingid) {
        this.thingid = thingid == null ? null : thingid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname == null ? null : bname.trim();
    }

    public String getBphone() {
        return bphone;
    }

    public void setBphone(String bphone) {
        this.bphone = bphone == null ? null : bphone.trim();
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

	@Override
	public String toString() {
		return "thing [thingid=" + thingid + ", name=" + name + ", bname=" + bname + ", bphone=" + bphone
				+ ", typename=" + typename + ", number=" + number + ", createdate=" + createdate + ", typeid=" + typeid
				+ ", userid=" + userid + ", status=" + status + ", updatedate=" + updatedate + ", time=" + time + "]";
	}

	public String getSendunit() {
		return sendunit;
	}

	public String getSignatureS() {
		return signatureS;
	}

	public void setSendunit(String sendunit) {
		this.sendunit = sendunit;
	}

	public void setSignatureS(String signatureS) {
		this.signatureS = signatureS;
	}

	public String getSnapinunit() {
		return snapinunit;
	}

	public void setSnapinunit(String snapinunit) {
		this.snapinunit = snapinunit;
	}
	
}